import { createPinia } from "pinia";
import persist from 'pinia-plugin-persistedstate'
// 创建 pinia 实例
const pinia=createPinia()
// 使用持久化存储插件
pinia.use(persist)

export default pinia
//统一导出
export * from './modules/user'
export * from './modules/consult'